import type { ApplicationSaveOrUpdateParams } from '@/types'

export const defaultForm: Partial<ApplicationSaveOrUpdateParams> = {
  applicationName: '',
  applicationEnable: 1,
  remarks: '',
  applicationIcon: '',
}

export const rules = {
  applicationName: [
    { required: true, message: '应用名称不能为空！', trigger: 'blur' },
  ],
}
